package com.itheima.controller;

public class Code {
    public static final Integer findAllBooks_OK=202201;
    public static final Integer findById_OK=202211;
    public static final Integer saveBooks_OK=202221;
    public static final Integer updateBooks_OK=202231;
    public static final Integer deleteById_OK=202241;

    public static final Integer findAllBooks_NO=202200;
    public static final Integer findById_NO=202210;
    public static final Integer saveBooks_NO=202220;
    public static final Integer updateBooks_NO=202230;
    public static final Integer deleteById_NO=202240;

    //异常

    public static final Integer ERR_ERR = 50010;
    public static final Integer BUSINESS_ERR = 50020;
    public static final Integer BUSINESS_ERR1 = 50021;
    public static final Integer BUSINESS_ERR2 = 50022;
    public static final Integer SYSTEM_ERR = 50030;

    public static final Integer DAO_ERR = 50040;
}
